<template>
  <Tooltip :title="t('layout.header.tooltipVben')" placement="bottom" :mouseEnterDelay="0.5" @click="handleToErrorList">
    <Badge>
      <Icon icon="mdi:github-face" />
    </Badge>
  </Tooltip>
</template>
<script lang="ts" setup>
import { computed } from 'vue';
import { Tooltip, Badge } from 'ant-design-vue';
import Icon from '@/components/Icon/Icon.vue';
import { useI18n } from '@/hooks/web/useI18n';
import { PageEnum } from '@/enums/pageEnum';

defineOptions({ name: 'AppURL' });

const { t } = useI18n();

function handleToErrorList() {
  window.open('https://vben.vvbin.cn/#/dashboard/analysis', '_blank');
}
</script>
